package designpattern.Composite;

/**
 * @author cyt
 * @create 2020-07-20 13:19
 */
public class Department extends OrganizationComponent {
    public Department(String name, String des) {
        super(name, des);
    }


    @Override
    public void print() {
        System.out.println(this.getName() + "=> " + this.getDes());
    }

    @Override
    protected void add(OrganizationComponent organizationComponent) {

    }

    @Override
    protected void remove(OrganizationComponent organizationComponent) {

    }


}
